package com.boot.mapper;

import com.boot.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {

    //根据User的ID查询菜单
    List<Menu> getMenuByUserId(Long userId);

}
